package com.cinema.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static String fomat(String pattern,Date date){
		SimpleDateFormat format=new SimpleDateFormat(pattern);
		return format.format(date);
		
	}
}
